package com.yixing.tech.entity;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.data.mongodb.config.EnableMongoAuditing;
import org.springframework.scheduling.annotation.EnableAsync;

/**
 * @author yixing tech
 */
@SpringBootApplication(scanBasePackages = {"com.yixing.tech"})
@EnableDiscoveryClient
@EnableFeignClients
@EnableMongoAuditing
@EnableAsync
public class EntityApp {

    private static final Logger Logger = LoggerFactory.getLogger(EntityApp.class);
    public static void main(String[] args){
        SpringApplication.run(EntityApp.class,args);
        Logger.error("--------------entity server started----------------");

    }
}
